import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import Instruction from './views/Instruction.vue'
import Individual_Center from './views/Individual_Center.vue'
import Shop_Detail from './views/Shop_Detail.vue'
import Strategy_Mail from './views/Strategy_Mail.vue'
import Community from './views/Community.vue'
import Class from './views/Class.vue'
import Article from './views/Article.vue'
import Mock_Trading from './views/Mock_Trading.vue'
import Improve_Shop_Detail from './views/Improve_Shop_Detail.vue'
import Attention from './views/Attention.vue'
import Write_An_Article from './views/Write_An_Article.vue'
import Welcome from './views/Welcome.vue'
Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/instruction',
      name: 'instruction',
      component: Instruction
    },
    {
      path: '/Individual_Center',
      name: 'Individual_Center',
      component: Individual_Center
    },{
      path: '/Shop_Detail',
      name: 'Shop_Detail',
      component: Shop_Detail
    },
    {
      path: '/Strategy_Mail',
      name: 'Strategy_Mail',
      component: Strategy_Mail
    },
    {
      path: '/Community',
      name: 'Community',
      component: Community
    },
    {
      path: '/Class',
      name: 'Class',
      component: Class
    },
    {
      path: '/Community/Article',
      name: 'Article',
      component: Article
    },
    {
      path: '/Mock_Trading',
      name: 'Mock_Trading',
      component: Mock_Trading
    },
    {
      path: '/Improve_Shop_Detail',
      name: 'Improve_Shop_Detail',
      component: Improve_Shop_Detail
    },
    {
      path: '/Attention',
      name: 'Attention',
      component: Attention
    },
    {
      path: '/Write_An_Article',
      name: 'Write_An_Article',
      component: Write_An_Article
    },
    {
      path: '/Welcome',
      name: 'Welcome',
      component: Welcome
    }
  ]
})
